Skip to main content

OpenAI-compatible API

OpenAI-compatible API

  • Hardware & deployment
  • Stage 5 · Running It
  • refs checked 2026-11-09
What problem it solves

Serve a local model so existing OpenAI clients can connect unchanged.

What it is
vLLM provides an HTTP server compatible with OpenAI's Completions, Chat Completions and Embeddings APIs. llama.cpp's server likewise launches as an OpenAI-compatible API server.
Why it matters

Swap backends without touching your code: the cheapest switch between local and cloud.

Chinese aliases

Sources
  • vLLM OpenAI-compatible server ↗
  • llama.cpp repository ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →